#include "fixedratebondwrap.h"


FixedRateBondWrap::FixedRateBondWrap(QuantLib::FixedRateBond bond, double factor, int settlementDate, double tradePrice):QuantLib::FixedRateBond(bond)
{
	factor_ = factor;
	settlementDate_ = settlementDate;
	tradePrice_ = tradePrice;
}

FixedRateBondWrap::~FixedRateBondWrap(void){}

QuantLib::Real FixedRateBondWrap::NPV()
{
	return	QuantLib::FixedRateBond::NPV() * factor_;
}

